/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: IndexService
 * Author:   ZX
 * Date:     2020/6/21 21:52
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package org.example.service;

import org.example.dao.IndexDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author ZX
 * @create 2020/6/21
 * @since 1.0.0
 */
@Service
public class IndexService {


    public IndexService() {
        System.out.println("indexService");
    }

    @Transactional
    public String index() {
        System.out.println("index");
        return "index";
    }

    public String helloIndex() {
        return "helloIndex";
    }

}